<%--
  Created by IntelliJ IDEA.
  User: Lin
  Date: 2021/4/28
  Time: 10:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/static/layui/css/layui.css">
    <script src="${pageContext.servletContext.contextPath}/static/layui/layui.js" charset="utf-8"></script>
</head>
<body>

<form class="layui-form" action="${pageContext.servletContext.contextPath}/userInfo/updateUserinfoNamePassword"
      lay-filter="userinfo" style="margin-top: 20px;
margin-left: 30px;
margin-right: 100px;">

    <input type="hidden" name="id" value="${userinfo.id}">
    <div class="layui-form-item">
        <label class="layui-form-label" style="color: #0A5A97">用户编号:</label>
        <div class="layui-input-block">
            <input type="text" name="userNum" required lay-verify="required" placeholder="用户编号" autocomplete="off"
                   class="layui-input" disabled="disabled" value="${userinfo.userNum}">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="color: #0A5A97">昵称:</label>
        <div class="layui-input-block">
            <input type="text" name="nickname" required lay-verify="required" placeholder="昵称" autocomplete="off"
                   class="layui-input" value="${userinfo.nickname}">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="color: #0A5A97">用户名:</label>
        <div class="layui-input-block">
            <input type="text" name="userNum" required lay-verify="required" placeholder="用户名" autocomplete="off"
                   class="layui-input" disabled="disabled" value="${userinfo.username}">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="color: #0A5A97">密码:</label>
        <div class="layui-input-block">
            <input type="text" name="password" required lay-verify="required" placeholder="密码" autocomplete="off"
                   class="layui-input" value="${userinfo.password}">
        </div>
    </div>

    <button class="layui-btn" lay-submit lay-filter="formDemo" style="margin: 30px">提交</button>
</form>
</body>
</html>
